package com.itcncp.wechat.app.rpc.api;

import com.itcncp.common.base.BaseService;
import com.itcncp.wechat.app.dao.model.UserRechangeOpJnl;
import com.itcncp.wechat.app.dao.model.UserRechangeOpJnlExample;

import java.math.BigDecimal;

/**
* UserRechangeOpJnlService接口
* Created by itcncp on 2018/1/12.
*/
public interface UserRechangeOpJnlService
        extends BaseService<UserRechangeOpJnl, UserRechangeOpJnlExample> {

    /**
     * 创建微信小程序充值订单
     * @return
     */
    Object wxMiniRechargeAmount(String orderNo,Long userId, BigDecimal amount,String prepayid);

    /**
     * 银行卡充值
     */
    Object bankCardRechargeAmount(Long userId, BigDecimal amount);


    /**
     * 微信小程序充值后回调
     * @param orderNo  系统订单号
     * @param transactionno 第三方订单号
     * @return
     */
    Object wxMiniRechargeCallBack(Long orderNo,String transactionno);
}